package com.gwcm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gwcm.model.dto.memberCard.MemberCardQueryRequest;
import com.gwcm.model.entity.MemberCard;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gwcm.model.entity.User;
import com.gwcm.model.vo.MemberCardVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 15375
* @description 针对表【member_card】的数据库操作Mapper
* @createDate 2023-03-21 16:19:38
* @Entity com.gwcm.model.entity.MemberCard
*/
public interface MemberCardMapper extends BaseMapper<MemberCard> {

    IPage<MemberCardVo> selectMemberCardToPage(IPage<MemberCard> page, @Param("memberCardQueryRequest") MemberCardQueryRequest memberCardQueryRequest);

    /**
     * 根据id查询memberCard
     * @param id
     * @return
     */
    MemberCard selectMemberCardById(Long id);
}




